package com.sxhuayuan.parking.compenent;

/**
 * 国际化消息代码<br>
 * 
 * 所有国际化消息在这里声明
 * 
 * @author DELL
 *
 */
public class Message {

	// COMMON
	public static final String COMMON_SUCCESS = "msg.common.success";
	public static final String COMMON_FAIL = "msg.common.fail";
	public static final String COMMON_SAVE_FAIL = "msg.common.saveFail";
	public static final String COMMON_UPDATE_FAIL = "msg.common.updateFail";
	public static final String COMMON_DELETE_FAIL = "msg.common.deleteFail";
	public static final String COMMON_DELETE_NOT_ALLOW = "msg.common.deleteNotAllowed";
	public static final String COMMON_UNKNOWN_ERROR = "msg.common.unknownError";
	public static final String COMMON_NON_PERMISSION = "msg.common.nonPermission";
	public static final String COMMON_REQUEST_FREQUENTLY = "msg.common.requestFrequently";
	public static final String COMMON_NETWORK_ERR = "msg.common.networkErr";
	public static final String COMMON_CLIENT_NOT_SUPPORT = "msg.common.clientNotSupport";
	public static final String COMMON_SERVER_CONNECTION_FAILURE = "msg.common.serverConnectionFailure";
	public static final String COMMON_SERVICE_NOT_AVAILABLE = "msg.common.serviceNotAvailable";

	// FORM
	public static final String FORM_VALID_FAIL = "msg.form.validFail";
	public static final String FORM_UNIQUE_INVALID = "msg.form.uniqueInvalid";
	public static final String FORM_USERNAME_EXISTS = "msg.form.usernameExists";

	// LOGIN
	public static final String LOGIN_ACCOUNT_INCORRECT = "msg.login.incorrectCredentials";
	public static final String LOGIN_ACCOUNT_LOCK_COUNT = "msg.login.accountLockCount";
	public static final String LOGIN_ACCOUNT_AUTHENTICATION = "msg.login.authentication";
	public static final String LOGIN_LOCKED_ACCOUNT = "msg.login.lockedAccount";
	public static final String LOGIN_DISABLED_ACCOUNT = "msg.login.disabledAccount";
	public static final String LOGIN_INVALID_TOKEN = "msg.login.invalidToken";
	public static final String LOGIN_UNSUPPORTED_TOKEN = "msg.login.captchaInvalid";

	// 异常
	public static final String EXP_METHOD_NOT_SUPPORTED = "msg.exception.methodNotSupported";
	public static final String EXP_PARAMS_NOT_READABLE = "msg.exception.paramsNotReadable";

	// 车牌
	public static final String CAR_PLATE_ERR = "msg.carPlate.error";// 车牌号不符合规则
	public static final String CAR_PLATE_NOT_EXISTS = "msg.carPlate.notExists";// 车牌号不存在
	public static final String CAR_PLATE_IS_BINDING = "msg.carPlate.isBinding";// 当前车牌已被绑定
	public static final String CAR_PLATE_MAX_COUNT_LIMIT = "msg.carPlate.maxCountLimit";// 超过最大绑定车牌数
	public static final String CAR_PLATE_BINDING_SUCCESS = "msg.carPlate.bindingSuccess";

	// MEMBER
	public static final String MEMBER_SESSION_TIMEOUT = "msg.member.sessionTimeout";
	public static final String MEMBER_NOT_EXISTS = "msg.member.notExists";

	// ORDER
	public static final String ORDER_TIMEOUT = "msg.order.timeout";
	public static final String ORDER_NOT_EXISTS = "msg.order.notExists";// 订单单号不存在
	public static final String ORDER_ALREADY_SUCCESS = "msg.order.alreadySuccess";// 订单已支付
	public static final String ORDER_FAIL_HAS_MONTH_CARD = "msg.order.hasMonthCard";
	/** 微信支付未开通 */
	public static final String ORDER_WEIXIN_NOT_ENABLE = "msg.order.weixinNotEnable";
	/** 支付宝支付未开通 */
	public static final String ORDER_ALIPAY_NOT_ENABLE = "msg.order.alipayNotEnable";

	// 车辆
	public static final String CAR_FEE_NOT_PAID = "msg.car.feeNotPaid";
	/** 车辆已入场 */
	public static final String CAR_ALREADY_IN_PARKING_LOT = "msg.car.alreadyInParkingLot";
	/** 未找到入场记录 */
	public static final String CAR_NO_ENTRANCE_RECORD = "msg.car.noEntranceRecord";

	// 车场
	public static final String PARKING_LOT_NOT_EXISTS = "msg.parkingLot.notExists";

	// 车道
	public static final String PARK_CHANNEL_NOT_EXISTS = "msg.parkChannel.notExists";

	// 月卡
	public static final String MONTH_CARD_CHARGE_OPTION_NOT_FOUND = "msg.monthCard.chargeOptionNotFound";
	/** 下单时前端计算的费用 和后台计算的费用不一致 */
	public static final String MONTH_CARD_ORDER_MONEY_NOT_MATCH = "msg.monthCard.orderMoneyNotMatch";

	// 微信
	/** 微信小程序获取用户信息失败 */
	public static final String WEIXIN_GET_USERINFO_FAIL = "msg.weixin.getUserInfoFail";

	// 无感
	public static final String PARTNERPAY_PLATFORM_IS_NOT_SUPPORT = "msg.partnerpay.platformIsNotSupport";
	public static final String PARTNERPAY_NO_AVAILABLE_PLATFORM = "msg.partnerpay.noAvailablePlatform";
	// 代扣订单内容
	public static final String PARTNERPAY_ORDER_BODY = "msg.partnerpay.order.body";

	// api
	public static final String API_QUERY_FEE_FAIL = "msg.api.queryFeeFail";
}
